{% load i18n %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>{% trans "Congress"%} | {% block title %}{% endblock %}</title>
        <!-- CSS -->
        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style.css"/>
        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style_tablesorter.css"/>
        <!-- jQuery and custom js functions -->
        <script type="text/javascript" src="{{ STATIC_URL }}jquery/jquery.js" charset="utf-8"></script>
        <script type="text/javascript" src="{{ STATIC_URL }}funciones.js" charset="utf-8"></script>
        <script type="text/javascript" src="{{ STATIC_URL }}jquery/jquery.tablesorter.min.js"></script>
        <!-- jQuery date picker plug-in -->
        <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}jquery/datePicker/datePicker.css">
        <script type="text/javascript" src="{{ STATIC_URL }}jquery/datePicker/date.js"></script>
        <script type="text/javascript" src="{{ STATIC_URL }}jquery/datePicker/datePicker.js"></script>

{% block custom_headers %}{% endblock %}
</head>
<body>
    <a name="{% trans "go up"%}"></a>
    <div class="menudiv">
        <table class="maintable" align="center">
            <tr id="o1">
                <th class="maintable">
                    <a href="/"><div id="logo"><img src="{{ STATIC_URL }}images/logo2.jpg" /></div></a>
                    <div><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                </th>
            </tr>
            <tr>
                <td>
                    <div class="green" id="o2">
                        <div id="slatenav">
                            <ul class="topnav">
                                <li><a href="/">{% trans "Home"%}</a></li>
                                {% if user.is_authenticated %}
                                    <li><a href="/dissertations/add/">{% trans "Add Dissertations"%}</a></li>
                                    <li><a href="/dissertations/list/">{% trans "List Dissertations"%}</a></li>
                                {% else %}
                                    <li><a href="/dissertations/add/">{% trans "Add Dissertations"%}</a></li>
                                {% endif %}
                            </ul>
                            {% if user.is_authenticated %}
                                <div style="padding:7px 30px 0 0; float:right;">
                                    <span style="cursor:default;">{{ user.username }} | </span><a href="/logout/">{% trans "Log Out"%}</a>
                                </div>
                            {% else %}
                                <div style="padding:7px 30px 0 0; float:right;">
                                    <li><a href="/login/?next=/">{% trans "Log In"%}</a></li>
                                </div>
                            {% endif %}
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="abajodiv">
        <table class="maintable" align="center">
            <tr id="o3"><td class="mainhead">{% block head %}{% endblock %}</td></tr>
            <tr><td class="maincontent">{% block content %}{% endblock %}</td></tr>
            <tr>
                <td class="mainfoot">
                    <hr class="info">
                    <p class="copy">
                        <strong>&copy; 2011, CLK</strong>
                        <br />
                    </p>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
